<html>
  <head>
    <title>Domain Generation Results</title>
    <link rel="stylesheet" type="text/css" href="styles.css">
  </head>
	<body>
	  <%
		// println "hello world"
		// println request.getParameter("domainName")
		def domainName = request.getAttribute("domainName")
		def domainDocsLocation = request.getAttribute("domainDocsLocation")
		def result = request.getAttribute("result")

		%>

		<div id="content">
			<h1>Timeline and Graph View Generation Results</h1>
			<h2><a href="index.gsp">Start</a>==><a href="DomainDetailsFormAction.groovy">Enter Details</a>==><b><i>View Results</i></b></h2>
			<hr>

			<h2>Run Log:</h2>
<pre>
<% 
def logLines = request.getAttribute("logLines")
logLines.each { logLine ->
println logLine
}
%>
</pre>

			<h2>Domain Details:</h2>
			<p>You entered Domain name as: <a href="${domainName}/index.html">$domainName</a></p>
			<p>You entered Domain Source Docs location as: <a href="${domainDocsLocation}">${domainDocsLocation}</a></p>

			<h2>Inputs:</h2>
			<p>Domain List file: <a href="${domainDocsLocation}/MyDomain_list.csv">${domainDocsLocation}/${domainName}_list.csv</a></p>
			<p>Domain Graph file: <a href="${domainDocsLocation}/MyDomain_graph.csv">${domainDocsLocation}/${domainName}_list.csv</a></p>
			<p>and Domain Timeline file: <a href="${domainDocsLocation}/MyDomain_graph.csv">${domainDocsLocation}/${domainName}_timeline.csv</a></p>

			<h2>Outputs:</h2>
			<p>Domain Home Page: <a href="${domainName}/index.html">$domainName</a> - Click to see the rest of the results</p>
			<p>Domain Image:<p>
			<img src="${domainName}/${domainName}_whole.dot.png">
			<p>Domain Home Page: <a href="${domainName}/index.html">$domainName</a> - Click to see the rest of the results</p>
			
		</div>
	</body>
</html>
